package com.coderman.youpinshop.stock.service;

/**
 * Description:库存服务
 * date: 2022/1/15
 *
 * @author shenshuai
 * @version 1.0.0
 * @since JDK 1.8
 */
public interface StockService {
    /**
     * 库存扣减接口
     * @param stockCode
     * @param deductCount
     * @return
     */
    boolean deduct(String stockCode,Integer deductCount);
}
